package io.renren.modules.job.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import io.renren.modules.job.dao.ScheduleJobLogDao;
import io.renren.modules.job.entity.ScheduleJobLogEntity;
import io.renren.modules.job.service.ScheduleJobLogService;

@Service("scheduleJobLogService")
public class ScheduleJobLogServiceImpl extends ServiceImpl<ScheduleJobLogDao, ScheduleJobLogEntity> implements ScheduleJobLogService {

	@Override
	public List<ScheduleJobLogEntity> queryList(Map<String, Object> map) {
		return baseMapper.selectPage(new Page<>(), null);
	}

	@Override
	public int queryTotal(Map<String, Object> map) {
		return baseMapper.selectCount(null);
	}

}
